package model;

public class duty {
	private int id;
	private String content;
	private String userPhone;
	private String cookie;
	private int isOpenMessageWarn;
	private String warnTime;
	private String timestamp;
	public duty(String cookie, String content, int isOpenMessageWarn, String warnTime)
	{
		this.cookie = cookie;
		this.content = content;
		this.isOpenMessageWarn = isOpenMessageWarn;
		this.warnTime = warnTime;
	}
	public duty(int id, String content, String userPhone, int isOpenMessageWarn, String warnTime)
	{
		this.id = id;
		this.content = content;
		this.userPhone = userPhone;
		this.isOpenMessageWarn = isOpenMessageWarn;
		this.warnTime = warnTime;
	}
	public duty(
				int id, 
				String content, 
				String userPhone, 
				String cookie, 
				int isOpenMessageWarn,
				String warnTime,
				String timestamp
				)
	{
		this.id = id;
		this.content = content;
		this.userPhone = userPhone;
		this.cookie = cookie;
		this.isOpenMessageWarn = isOpenMessageWarn;
		this.warnTime = warnTime;
		this.timestamp = timestamp;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getCookie() {
		return cookie;
	}

	public void setCookie(String cookie) {
		this.cookie = cookie;
	}

	public int getIsOpenMessageWarn() {
		return isOpenMessageWarn;
	}

	public void setIsOpenMessageWarn(int isOpenMessageWarn) {
		this.isOpenMessageWarn = isOpenMessageWarn;
	}

	public String getWarnTime() {
		return warnTime;
	}

	public void setWarnTime(String warnTime) {
		this.warnTime = warnTime;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	
	
	
}
